//
//  TTMusicRankListModel.m
//  TTMusic
//
//  Created by chenpengyu on 16/3/30.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "TTMusicRankListModel.h"

@implementation TTMusicRankListModel

- (instancetype)initWithDataSource:(NSDictionary *)dataSource
{
    self = [super initWithDataSource:dataSource];
    if (self) {
        
        NSMutableArray *mutableArray = [NSMutableArray array];
        
        for (NSDictionary *dic in self.refs) {
            
            CPYRankListRefsModel *refsModel = [[CPYRankListRefsModel alloc] initWithDataSource:dic];
            [mutableArray addObject:refsModel];
        }
        self.refs = [NSMutableArray arrayWithArray:mutableArray];
    }
    return self;
}

@end
